<template>
	<view  class="more-btn__wrap">
		<view class="left">
			<view class="title">
				<slot name="left">
					<text class="iconfont icon-shuaxin"></text>
					<text>推荐歌单</text>
				</slot>
			</view>
		</view>
		<view class="right">
			<slot name="right">
				<text>更多</text>
				<text class="iconfont icon-youbian"></text>
			</slot>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			type:{
				type:String,
				default:'simple'
			},
			prefix:{
				type:String,
				default:null
			}
		},
		data(){
			return {
				
			}
		},
		emits:['click'],
		methods:{
			clickMore(e){
				this.$emit('click',e)
			}
		}
	}
</script>

<style lang="scss" scoped>
.more-btn__wrap {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	position: relative;
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	.left{
		display: flex;
		justify-content: flex-start;
		align-items: center;
		padding-left: 10px;
		.title{
			font-size: 18px;
		}
	}
	.right{
		padding: 1px 10px;
		border: 1px solid #ccc;
		border-radius: 24px;
		position: absolute;
		right: 10px;
		text{
			font-size: 16px;
		}
	}
}
</style>
